package com.itheima.stock.pojo.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class StockRtInfoDomain {
    //股票编码
    @ApiModelProperty("股票编码")
    private String code;
    //股票名称
    @ApiModelProperty("股票名称")
    private String name;
    //前收盘价
    @ApiModelProperty("前收盘价")
    private BigDecimal preClosePrice;
    //当前价格
    @ApiModelProperty("当前价格")
    private BigDecimal tradePrice;
    //交易量
    @ApiModelProperty("交易量")
    private Integer tradeAmt;
    //交易金额
    @ApiModelProperty("交易金额")
    private BigDecimal tradeVol;
    //涨跌
    @ApiModelProperty("涨跌")
    private BigDecimal increase;
    //涨幅
    @ApiModelProperty("涨幅")
    private BigDecimal upDown;
    //振幅
    @ApiModelProperty("振幅")
    private BigDecimal amplitude;
    //当前日期
    @ApiModelProperty("当前日期")
    private Date curDate;
}
